@layout("/common/_form.html",{js:["/assets/school/schoolInfo/schoolInfo_add.js"]}){

<form class="layui-form" id="schoolInfoForm" lay-filter="schoolInfoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">学校编码<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="code" name="code" placeholder="请输入学校编码" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">学校名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="name" name="name" placeholder="请输入学校名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">学校类别<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="type" lay-search="" id="type" lay-verify="required" required>
                                <option value="">直接选择或搜索选择</option>
                                @for(item in xxlx){
                                <option value="${item.code}">${item.name}</option>
                                @}
                            </select>
                        </div>
<!--                        <div class="layui-input-block">-->
<!--                            <input id="type" name="type" placeholder="请输入学校类别" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">地址</label>
                        <div class="layui-input-block">
                            <input id="address" name="address" placeholder="请输入地址" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <input id="memo" name="memo" placeholder="请输入备注" type="text" class="layui-input" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}